Ignore evil-state bindings
authorjustbur <justin@burkett.cc>
Fri, 11 Dec 2015 20:29:59 +0000 (15:29 -0500)
committerjustbur <justin@burkett.cc>
Fri, 11 Dec 2015 20:29:59 +0000 (15:29 -0500)
These are the fake keys that evil uses to store maps under

which-key.el

index 5986ae6af7cf57ff96668d921c16cd5a22bc8853..09cc404b7a3d208e9c1ada0aa262929fbc1ca245 100644 (file)
@@ -1310,7 +1310,7 @@ alists. Returns a list (key separator description)."
   (let ((key-str-qt (regexp-quote (key-description which-key--current-prefix)))
         (buffer (current-buffer))
         (ignore-bindings '("self-insert-command" "ignore" "ignore-event" "company-ignore"))
-        (ignore-keys-regexp "mouse-\\|wheel-\\|remap\\|drag-\\|scroll-bar\\|select-window\\|switch-frame")
+        (ignore-keys-regexp "mouse-\\|wheel-\\|remap\\|drag-\\|scroll-bar\\|select-window\\|switch-frame\\|-state")
         (ignore-sections-regexp "\\(Key translations\\|Function key map translations\\|Input decoding map translations\\)"))
     (with-temp-buffer
       (let ((indent-tabs-mode t))